package edu.fudan.jwxt.dao;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.fudan.jwxt.entity.College;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface CollegeDao extends BaseMapper<College> {

    @Select("select * from college where college_name = #{collegeName}")
    College getCollegeByName(String collegeName);
}
